import {  req, preq, greq } from './axiosFun';

/**
 * 个人中心
 **/
// 我的信息
    // 获取当前用户的信息
export const getuserdata = (params) => { return preq("post", "http://localhost:8080/account/getuser", params) };
    // 更新当前用户的信息
export const userupdate = (params) => { return preq("post", "http://localhost:8080/account/update", params) };
// 我的申请
export const getmyapply = (params) => { return preq("post", "http://localhost:8080/apply/getapplys", params) };
    // 申请单催促
export const urgeThis = (params) => { return preq("post", "http://localhost:8080/apply/urgeThis", params) };
// 我的任务
export const getmytask = (params) => { return preq("post", "http://localhost:8080/task/getmytask", params) };
    // 提交审核或验收
export const examine = (params) => { return preq("post", "http://localhost:8080/task/examine", params) };
// 个人中心-申请单详情
export const applydetails = (params) => { return preq("post", "http://localhost:8080/apply/applydetails", params) };
